<foreach name="alert" item="v" key="k"> <foreach name="v"
	item="vv" key="kk">
<div class="alert alert-{$k}">
	<button type="button" class="close" data-dismiss="alert">&times;</button>
	{$vv}
</div>
</foreach> </foreach>